project(CapCutVideoTool)

file(GLOB_RECURSE HEAD_LIST ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h)
message(STATUS "[CapCutVideoTool] HEAD_LIST: ${HEAD_LIST}")
file(GLOB_RECURSE SRC_LIST ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
message(STATUS "[CapCutVideoTool] SRC_LIST: ${SRC_LIST}")
add_executable(CapCutVideoTool ${HEAD_LIST} ${SRC_LIST})

target_link_libraries(CapCutVideoTool PUBLIC Qt${QT_VERSION}::Core Qt${QT_VERSION}::Widgets)

target_include_directories(CapCutVideoTool PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/inc)


target_include_directories(CapCutVideoTool PUBLIC ${PROJECT_ROOT_DIR}/Forms/inc)

message(STATUS "[CapCutVideoTool] CMAKE_MODULE_PATH: ${CMAKE_MODULE_PATH}")

target_link_libraries(${PROJECT_NAME} PUBLIC
      ${PROJECT_ROOT_DIR}/${PREFIX_DIR}/forms.dll
      ${PROJECT_ROOT_DIR}/${PREFIX_DIR}/common.dll)

include(OutputDirConfig)